<%@ Page language="c#" Codebehind="EmailAdmin.aspx.cs" AutoEventWireup="True" Inherits="Adge.Web.Faq.Admin.EmailAdmin" %>
<%@ Register TagPrefix="skm" Namespace="FAQControls" Assembly="FAQControls" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Email Administration</title>
		<LINK href="../FAQstyle.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<p><skm:LoginPanel id="LoginPanel1" runat="server" cssclass="faq_logout" /></p>
			<h1>
				Email Administration</h1>
			<div class="faq_breadcrumb"><a href="Default.aspx">skmFAQs.NET Administration</a> &gt; 
				Email Administration</div>
			<P>
				<b>Email Templates:</b>
				<asp:DropDownList id="emailTemplates" runat="server" DataTextField="Name" DataValueField="EmailTemplateID"
					AutoPostBack="True" onselectedindexchanged="emailTemplates_SelectedIndexChanged"></asp:DropDownList>
			</P>
			<hr>
			<asp:ValidationSummary id="ValidationSummary1" runat="server"></asp:ValidationSummary>
			<P><STRONG>Subject:</STRONG>
				<asp:TextBox id="subject" runat="server" Columns="50" MaxLength="75"></asp:TextBox>&nbsp;
				<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="You must provide a subject for the email template."
					Display="Dynamic" ControlToValidate="subject">*</asp:RequiredFieldValidator></P>
			<P><STRONG>Template:<BR>
				</STRONG>
				<asp:TextBox id="template" runat="server" Columns="60" TextMode="MultiLine" Rows="10"></asp:TextBox>&nbsp;
				<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="You must provide a template."
					Display="Dynamic" ControlToValidate="template">*</asp:RequiredFieldValidator><BR>
				<asp:Button id="btnSaveTemplate" runat="server" Text="Save Template" onclick="btnSaveTemplate_Click"></asp:Button></P>
		</form>
	</body>
</HTML>
